package com.dbManage.dao;

import com.dbManage.annotation.MyBatisRepository;
import com.dbManage.entity.Note;
import com.dbManage.entity.NoteRecord;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
@MyBatisRepository
public interface RecordDao {

    void insertNoteRecord(NoteRecord noteRecord);

    Note findNoteById(int id);

    List<NoteRecord> findNoteRecordById(int id);
}
